import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

import App from './App.vue'
import router from './router'

// 引入element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// 阿里图标
import './assets/iconfont/iconfont.css'
import './assets/iconfont/iconfont.js'

// 初始化主题
import { initTheme } from './utils/theme'
initTheme()

/* eslint-disable */
import * as axios from 'axios';


const app = createApp(App)

app.use(pinia)
app.use(router)
app.use(ElementPlus)
app.mount('#app')
